package de.jmda.gen.impl;

import java.util.LinkedList;
import java.util.List;

import de.jmda.gen.Generator;

public class DefaultCompoundGenerator
    extends AbstractCompoundGenerator
{
	private List<Generator> generators = new LinkedList<Generator>();

	@Override
	public List<Generator> getGeneratorComponents()
	{
		return generators;
	}
	
	/**
	 * convenience method to add generator to {@link #generators}
	 *
	 * @param generator
	 */
	public void addGeneratorComponent(Generator generator)
	{
		generators.add(generator);
	}
}